package com.yejhxt.inter;

import java.util.Map;

import com.yejhxt.model.message;

public interface messageMapper {
    int deleteByPrimaryKey(Long messageid);

    int insert(message record);
   void deleteByDeviceId(Long deviceid);
    int insertSelective(message record);
    void deleteByTimes(Map map);
    message selectByPrimaryKey(Long messageid);
    message  GetLatestOne();
    message GetLatestOneOfDev(Map map);
    int updateByPrimaryKeySelective(message record);

    int updateByPrimaryKey(message record);
}